package com.justgame.project.service.system.mapper;

import com.justgame.project.service.api.entity.ChineseArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

// normal_country_area
@Mapper
public interface UsualMapper {


    ChineseArea queryAreaByCode(@Param("code") String code);

    List<ChineseArea> queryAreaByName(@Param("name") String name, @Param("level") Integer level);

    List<ChineseArea> queryAreas(@Param("level") Integer level);


}
